import request from '@/config/axios'

export const getMetricsList = (params: any): Promise<IResponse> => {
  return request.get({ url: '/metricsList', params })
}
export const addMetrics = (data: any): Promise<IResponse> => {
  return request.post({ url: '/addmetrics', data })
}
export const reviseMetrics = (params: any): Promise<IResponse> => {
  return request.post({ url: '/revisemetrics', params })
}
export const delMetrics = (params: any): Promise<IResponse> => {
  return request.get({ url: '/delmetrics', params })
}
